package com.fesco.mis.fm.util.serializeutils.serializer;

import java.io.IOException;

/**
 * 描述  : 对象序列化接口
 * 联系人: 张政<zhang_zheng@sinosoft.com.cn>
 */
public interface Serializer {

    public String name();

    public byte[] serialize(Object obj) throws IOException;

    public Object deserialize(byte[] bytes) throws IOException;

}
